package com.itheima.zifustream;

import java.util.ArrayList;
import java.util.List;

public class Demo1 {
    public static void main(String[] args) {
        Student stu1 =new Student("zhangsan","qwr");
        Student stu2 =new Student("zhangsan","qwr");
        Student stu3 =new Student("zhangsan","qwr");
        ArrayList<Student> list=new ArrayList<>(List.of(stu1,stu2,stu3));





    }
}
